<?php

/*
|--------------------------------------------------------------------------
| Application Routes
|--------------------------------------------------------------------------
|
| Here is where you can register all of the routes for an application.
| It's a breeze. Simply tell Laravel the URIs it should respond to
| and give it the controller to call when that URI is requested.
|
*/

Route::get('/', function () {
    return view('welcome');
});

route::get('/kk',function(){
	return "好坑的框架";
});

route::get("/add/{id}",function($id){
	return "这是添加的方法".$id;
});

route::get("/edit/{id}",function($id){
	return "编辑的方法".$id;

});

route::get("/del/{id}",function($id){
	echo "我是删除方法".$id;
});

